//
//  IGViewController.swift
//  Bee
//
//  Created by zhujinhui on 15/12/29.
//  Copyright © 2015年 kyson. All rights reserved.
//

import UIKit

class IGViewController: KSViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        
        self.edgesForExtendedLayout = UIRectEdge.None
        
        self.extendedLayoutIncludesOpaqueBars = false
        
//        switch  UIDevice.currentDevice().systemVersion.compare( "7.0.0" , options: NSStringCompareOptions.NumericSearch) {
//        case  .OrderedSame, .OrderedDescending:{
//            
//            
//        }
//            break
//
//        case  .OrderedAscending:{
//        }
//            break
//
//        }
        
        // Do any additional setup after loading the view.
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    
    
    override func viewWillDisappear(animated: Bool) {
        self.hidesBottomBarWhenPushed = false
    }
    
//    override func viewWillAppear(animated: Bool) {
//        self.hidesBottomBarWhenPushed = true
//    }
    

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
        // Get the new view controller using segue.destinationViewController.
        // Pass the selected object to the new view controller.
    }
    */

}
